placesview: keep reference during network fetching
authorChristian Kellner <christian@kellner.me>
Mon, 5 Sep 2016 11:41:16 +0000 (13:41 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 9 Sep 2016 20:55:47 +0000 (16:55 -0400)
commitd4bf2156119c7be55d1a7cc6cada9f800a33b024
treef9f40dc2de8088c854f71aba62fc480f71139bca
parent7cdc04c8d200fe78e4fe8d1ae37747573526c309
placesview: keep reference during network fetching

Analogous to (un)mount operation, we now keep a reference around
during the ongoing operation and make use of the destroyed flag
to check if we are still alive or if we have been cancelled as
a result of the widget being destroyed.

https://bugzilla.gnome.org/show_bug.cgi?id=764979
gtk/gtkplacesview.c